package cn.com.myshiro.dao;
import java.util.List;
import java.util.Map;

import cn.com.myshiro.bean.Sysuser;


public interface SysuserDao {

	 //查所有
	 public List<Sysuser> allSysuser(Map<Object,Object> map);

	 //删除
	 public void delSysuser(int id);

	 //获取一个form
	 public  Sysuser  sysuser(int  id);

	 //修改
	 public void updateSysuser(Sysuser  sysuser);

	 //添加
	 public void addSysuser(Sysuser  sysuser);

	 //查询总条数
	 public int countSysuser();
	 
	 public Sysuser sysuserBycode(String usercode);
}
